function [ average ] = LowPassFilter( average,input,a)
% 1st order low pass filter
% forgetting factor a, range 0-1,more toward 0 more forgetting effect 
average = a*average + (1-a)*input;


end

